Memsource\Service\DatabaseService S

Total Complexity 18
Dependencies 1
Dependents 6
Total lines 143
Lines of code 92
Logical lines of code 52
Comment lines 18
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
findAllLanguageMapping()
S
63 3 10
getTranslationByItemIdAndTypeAndTargetLanguageAndSetId()
S
68 2 6
deleteTranslationData()
S
63 2 10
saveLanguageMapping()
S
62 2 10
findOneLanguageMappingByMemsourceCode()
S
68 2 6
saveTranslation()
S
61 1 12
deleteTranslationsBySetId()
S
72 1 5
deleteTranslationByTargetIdAndType()
S
71 1 5
getPostData()
S
66 1 8
getTranslationData()
S
66 1 8
updateTargetLanguageBySetIdAndType()
S
67 1 7
truncateLanguageMapping()
S
73 1 5